<!doctype html>
<html>
	<head>
		<meta charset="UTF-8" />
		<title>后台管理系统</title>
		<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=edge" />
		<meta name="renderer" content="webkit|ie-comp|ie-stand">
		<meta name="robots" content="noindex,nofollow">
		<link rel="stylesheet" href="{{ asset('assets/theme/admin/css/login.css') }}" />
		<style>
			#login_btn_wraper {
				text-align: center;
			}
			#login_btn_wraper .tips_success {
				color: #fff;
			}
			#login_btn_wraper .tips_error {
				color: #DFC05D;
			}
			#login_btn_wraper button:focus {
				outline: none;
			}
		</style>
		<script>
			if (window.parent !== window.self) {
				document.write = '';
				window.parent.location.href = window.self.location.href;
				setTimeout(function() {
					document.body.innerHTML = '';
				}, 0);
			}
		</script>

	</head>

	<body>
		<div class="wrap">
			<div class="login">
				<h1>后台管理登录</h1>
				<form method="post" name="login"action="{{ url('admin/enter/login') }}" class="J_ajaxForm">
				 {!! csrf_field() !!}
					<ul>
						<li>
							<input class="input"  required name="authKey"  type="text" placeholder="帐号名" title="帐号名" value="" />
						</li>
						<li>
							<input class="input"  type="password" required name="password" placeholder="密码" title="密码" />
						</li>

						 @if(count($errors) > 0)
						 <li>
                                                <p  style="color: #FF0000"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
                                               {{ $errors->first('message') }}</p>
                                               </li>
                                                 @endif

					</ul>
					<div id="login_btn_wraper">
						<button type="submit" name="submit" class="btn btn_submit J_ajax_submit_btn">登录</button>
					</div>
				</form>
			</div>
		</div>

		</div>
	</body>

</html>